//
//  Caculator.m
//  test
//
//  Created by kepuG on 16/10/11.
//  Copyright © 2016年 text. All rights reserved.
//

#import "Caculator.h"
#import "CaculatorMaker.h"

@implementation NSObject(Caculator)

+(int)makeCaculators:(void(^)(CaculatorMaker *))block{
    CaculatorMaker *mag = [[CaculatorMaker alloc] init];
    block(mag);
    
    return mag.result;
}

@end
